import cgi

from google.appengine.api import users
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import db

import os
from google.appengine.ext.webapp import template



class MainPage(webapp.RequestHandler):
    
    
    def get(self):
        conteudo = """<html><body> <pre> </body> </pre> </body></html>"""
        link = '<a href="" >quem ama bloqueia </a>'
        self.response.out.write(conteudo[:conteudo.rfind("</body>")] + link + conteudo[conteudo.rfind("</body>"):])



application = webapp.WSGIApplication([('/.*', MainPage)], debug=True)


def main():
    run_wsgi_app(application)


if __name__ == "__main__":
    main()
